{__NOLAYOUT__} 
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>大拇哥资源共享平台</title>
    <!--视口 不缩放 -->
    <meta name="viewport" content="user-scalable=no,width=device-width, initial-scale=1.0,  minimum-scale=1.0, maximum-scale=1.0">
    <meta name="flexible" content="initial-dpr=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <!-- 网页作者 -->
    <meta name="author" content="hg" />
    <!-- 添加到主屏后的标题（iOS 6 新增） -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 是否启用 WebApp 全屏模式，删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
    <!-- 设置苹果工具栏颜色 -->
    <meta name="format-detection" content="telphone=no, email=no" />
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <!-- 不让百度转码 -->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="msapplication-TileColor" content="#000" />
    <!--<link href="logo.ico" rel="shortcut icon" type="image/x-icon">-->
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="__PUBLIC__/dist/js/html5shiv.min.js"></script>
      <script src="__PUBLIC__/dist/js/respond.min.js"></script>
    <![endif]-->
    <link rel="shortcut icon" href="favicon.ico">

    <!-- ZUI1.7.0 -->
    <link rel="stylesheet" href="__PUBLIC__/dist/css/zui.min.css">

    <link href="/domoko/dist/css/main.css" rel="stylesheet">
    <style>
        #draggableBtn {
            position: absolute;
            /* 被拖动的元素必须设置 position 为 absolute */
            top: 10px;
            right: 10px;
            z-index: 99;
        }

        body {
            width: 100%;
        }

        #page {
            width: 100%;
            overflow: hidden;
        }
    </style>
</head>

<body class="bg-white">
    <div id="page">
        <section>
            <h1>2016秋季期末试卷(客观题)</h1>
            <hr>
            <div class="text mb-20">
                <p class="text-danger">考试的提交截止时间已过，你可以作为自我学习进行考试，但是提交的结果将无法获得学分。</p>
                <p>本试卷分为三种题型：判断题、单选题、编程题，题目在题库中随机抽取。客观题共25题，每题2分，共50分；主观题共5题，每题10分，共50分；合计100分。</p>
            </div>
            <div class="subject">
                <div class="box">
                    <div>
                        <span class="subject-num">1</span>
                        <span class="subject-score">（1分）</span>
                        <span class="subject-txt">下面哪项可以将窗口坐标设置为：(0,0)在左下角，(10,10)在右上角：</span>
                    </div>
                    <div>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> A. win.setcoords(Point(0,0), Point(10,10))</label>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> B. win.setcoords(0, 0, 10, 10)</label>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> C. win.setcoords((0,0), (10,10))</label>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> D. win.setcoords(Point(10,10), Point(0,0))</label>
                    </div>
                    <div class="alert alert-danger">
                        <strong>正确答案：B 你错选为C</strong>
                    </div>
                </div>
                <div class="box">
                    <div>
                        <span class="subject-num">2</span>
                        <span class="subject-score">（5分）</span>
                        <span class="subject-txt">下列哪条表达式可以创建一条从点(2,3)到(4,5)的线段：</span>
                    </div>
                    <div>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> A. Line(Point(2,3), Point(4,5))</label>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> B. Line((2,3), (4,5))</label>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> C. Line(2, 3, 4, 5)</label>
                        <label class="radio-inline block">
                            <input type="radio" name="subject1"> D. Line(2, 4, 3, 5)</label>
                    </div>
                    <div class="alert alert-success">
                        <strong>正确答案：A 恭喜你答对了</strong>
                    </div>
                </div>
            </div>
        </section>
        <div id="draggableBox">
            <button id="draggableBtn" type="button" class="btn btn-primary">
                <span id="printPosition">
                    <i class="icon icon-time"></i> 2:00:00</span>
            </button>
        </div>
    </div>
    <script src="__PUBLIC__/dist/js/jquery.min.js"></script>
    <!-- ZUI 标准版压缩后的 JavaScript 文件 -->
    <script src="__PUBLIC__/dist/js/zui.min.js"></script>
    <script>
        $('#draggableBtn').draggable({
            container: '#page',
        });

        var intDiff = parseInt(7200); //倒计时总秒数量
        function show_time() {
            window.setInterval(function () {
                var day = 0,
                    hour = 0,
                    minute = 0,
                    second = 0; //时间默认值
                if (intDiff > 0) {
                    day = Math.floor(intDiff / (60 * 60 * 24));
                    hour = Math.floor(intDiff / (60 * 60)) - (day * 24);
                    minute = Math.floor(intDiff / 60) - (day * 24 * 60) - (hour * 60);
                    second = Math.floor(intDiff) - (day * 24 * 60 * 60) - (hour * 60 * 60) - (minute * 60);
                }
                if (minute <= 9) minute = '0' + minute;
                if (second <= 9) second = '0' + second;
                $('#printPosition').html('<i class="icon icon-time"></i> ' + hour + ':' + minute + ':' + second);
                intDiff--;
            }, 1000);
        }
        show_time()
    </script>
</body>

</html>